/* 全局字体和颜色样式 */

/* 桌面端字体设置 */
@media screen and (min-width: 576px) {
    @font-face {
        font-family: 'AlibabaPuHuiTi';
        src: url('/fonts/AlibabaPuHuiTi-2-55-Regular.woff2') format('woff2');
        font-display: block;
        font-weight: normal;
        font-style: normal;
    }

    * {
        font-family: 'AlibabaPuHuiTi', 'Arial', 'Roboto', sans-serif ;
    }
}

/* 移动端字体设置 */
@media screen and (max-width: 575px) {
    * {
        font-family: "sans-serif",
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body,
html {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    font-size: 14px;
}

/* 标题颜色 */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgba(0, 0, 0, 0.80);
    font-weight: 500;
    line-height: 1.5;
}


/* 链接颜色 */
a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgba(0, 0, 0, 1);
}


input,
textarea,
select {
    color: rgba(0, 0, 0, 0.8);
    font-family: inherit;
}

.un-user_select {
    user-select: none;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

input:-internal-autofill-selected {
    background-color: #FFF !important;
}